


SOURCE=1.c
OBJECT=$(SOURCE:.c=.o)


CROSS=i686-w64-mingw32-
CC=$(CROSS)gcc

CFLAGS=-Os -O2 -fno-exceptions
LDFLAGS=-s -mwindows
EXTLIB=
TARGET=1.exe

.PHONY=ALL clean
ALL:$(TARGET)

$(TARGET):$(OBJECT)
	$(CC) $(LDFLAGS) $^ -o $@ 

clean:
	RM=/usr/bin/rm
	$(RM) -f $(TARGET) $(OBJECT)